Protected Sub ctlToolbar_BtnNuevoClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnNuevoClicked
    nuevoDocumento()
    cargarDatos()
End Sub
Protected Sub ctlToolbar_BtnGuardarClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnGuardarClicked
    If VerificarDatos() Then
      If Me.ctlEncabezadoDocumento.EstadoDocumento = enumEstadoDeDocumento.NuevoAGuardar Then
        crearDocumento()
        If Me.ctlEncabezadoDocumento.NidDocumento <> 0 Then
          guardarDocumento(Me.ctlEncabezadoDocumento.NidDocumento, 0)
        End If
      Else
        guardarDocumento(Me.ctlEncabezadoDocumento.NidDocumento, 1)
      End If
    End If
End Sub
Protected Sub ctlToolbar_BtnAprobarClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnAprobarClicked
    firmarDocumento()
End Sub
Protected Sub ctlToolbar_BtnEditarClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnEditarClicked
    editarDocumento()
End Sub
Protected Sub ctlToolbar_BtnImprimirClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnImprimirClicked
    imprimirDocumento()
End Sub
Protected Sub ctlToolbar_BtnListaClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnListaClicked
    consultarIncidencias()
End Sub
Protected Sub ctlToolbar_BtnRechazarClicked(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlToolBar.BtnRechazarClicked
    cancelarDocumento()
End Sub